#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <string>
using namespace std;

int main() {

    string s1, s2;
    getline(cin, s1);
    getline(cin, s2);

    // write your code here......
    cout << s1 + s2;

    return 0;
}
